package routers

import (
	"gitee.com/yesy/mdzs.git/controllers"
	"github.com/astaxie/beego"
)

func init() {
	beego.Router("/", &controllers.MainController{})
	
	//登录
	//beego.Router("/login", &controllers.LoginController{}, "get:DoLogin")
	//beego.Router("/logout", &controllers.LoginController{}, "get:Logout")
	//后台主页
	//beego.Router("/main", &controllers.AdminController{}, "get:DoMain")

	//物品信息
	beego.Router("/getitemlist", &controllers.ItemController{}, "get:GetItemList")
	beego.Router("/list", &controllers.ItemController{}, "get:Default")
}
